package com.lixingqu.mvpdemo.ui.itemdrag;

import android.support.v7.widget.RecyclerView;

import com.chad.library.adapter.base.BaseItemDraggableAdapter;
import com.chad.library.adapter.base.callback.ItemDragAndSwipeCallback;

/**
 * Created by lixingqu on 2016/12/13.
 */

public class MyCallback extends ItemDragAndSwipeCallback {
    public MyCallback(BaseItemDraggableAdapter adapter) {
        super(adapter);
    }

    @Override
    public boolean onMove(RecyclerView recyclerView, RecyclerView.ViewHolder source, RecyclerView.ViewHolder target) {
        return true;
    }


}
